home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_313 / uucp / uucp1.lzh / src / uucico / modem.h < prev    next >
Text File  |  1989-10-14  |  854b  |  29 lines

  1. /* modem.h
  2.  
  3.    This file defines all the routines that specific to the modem.
  4.  
  5.    Copyright 1988 by William Loftus.  All rights reserved.
  6.  
  7. */
  8.  
  9. /* When in SLAVE mode the this routine should poll the modem for
  10.    a CONNECT message (at least on Hayes's) */
  11. void openline();
  12.  
  13. /* Machines may dial in at different baud rates that are reported by the
  14.    modem.  This routine uncovers what the baud rate incomming rate is
  15.    and returns it as an int */
  16. int  get_baud();
  17.  
  18. /* This routine is called when the UUCICO program starts up */
  19. void modem_init();
  20.  
  21. /* this routine takes a number as a parameter and sends the appropriate
  22.    commands to the modem to dial that number */
  23. int dial_nbr(char *);
  24.  
  25. /* This routine is called at the end of a call.  It should reset the modem
  26.    to the appropriate state (i.e. ready to receive another call) */
  27. void reset_modem();
  28.  
  29.